<{include file="section/admin/admin_header.tpl"}>
<body>
<{include file="section/admin/admin_header_login_bar.tpl"}>
<div id="contentA" class="clear" style="width:1300px;">
	<!--leftsidebar sr-->
    <!--/leftsidebar end-->
    <div class="rightCont">
    	<!--path st-->
		<div class="path">您的位置：<a href="/">首页</a>&gt; &nbsp;商品信息详情</div>
		<!--/path end-->
		
    	<h2 class="title01"><span>商品信息详情</span></h2>
        <div class="line1"></div>
		<div class="boxform">
				<{php}>
					$url = "/goods/edit_preview/{$this->_tpl_vars['goods_id']}";
					echo Request::factory($url)->execute()->body();
				<{/php}>
		</div>	
    	<h2 class="title01"><span>商品相关订单</span></h2>
        <div class="line1"></div>
		<div class="boxform">
			<div class="box02_Tab">
				<div class="table01">
					<table cellpadding="0" cellspacing="0" width="100%" border="0" id="table">
					<tr class="th">
					<th><div class="tl">订单编号</div></th>
					<th><div>实付款（元）</div></th>
					<th><div>下单时间</div></th>
					<th><div>交易状态</div></th>
					<th><div>买家</div></th>
					<th><div>详情</div></th>
					</tr>

					<{foreach from=$list.list key=key item=item}>
					<tr>
					<td class="tl"><{$item.order_id}></td>
					<td>￥<{$item.money_real}></td>
					<td><{php}>echo date('Y-m-d H:i:s',$this->_tpl_vars['item']['create_time']);<{/php}></td>
					<td><{if $item.status == ''}><{else}><span class="green"> <{$item.status}> </span><br /><{/if}><span class="red"> <{$item.status_refund_name}> </span></td>
					<td><a href="/member/detail/<{$item.member_uid}>" target="_blank">详情</a></td>
					<td><a href="/orders/detail/<{$item.order_id}>" target="_blank">查看</a></td>
					</tr>
					<{/foreach}>
					</table>
				</div>
			</div>
			<div class="box02_lab clear">
				共计：<{$list.count}> 
			</div>
			<div class="line margin25"></div>
            <ul class="clear">
            <li class="i1">&nbsp;</li>
            </ul>
        </div>
        
    </div>
</div>
</body>
</html>
